package com.lxw.study.behavioral.strategy.unionfactory;

import com.lxw.study.behavioral.strategy.traditional.Strategy;
import org.springframework.stereotype.Component;

@Component("strategy2")
public class ConcreteStrategy2 implements Strategy {
    @Override
    public void doSomething() {
        System.out.println("具体策略2的运算法则...");
    }
}
